home *** CD-ROM | disk | FTP | other *** search
- Hey Andy (Church),
- Is the following a bug or is it supposed to happen?
-
- I wrote a test program using the demo intuition extension. Obviously, I can't
- close a screen after the program ends, but, after compiling my test program,
- the screen to back gadget causes instant guru.
-
- Code is as follows:
-
- Amos To Back
- Iscreen Open 1,640,200,2,Hires,"Demo"
- Icls : Ilocate0,1
- Iink 1
- Iwrite
- Icentre "Hello. Welcome to the test."
- Iwrite : Iwrite
- Icentre "Enter something to end the demo."
- A$=""
- 1 A$=Iread Char$
- If A$="" Then Goto 1
- Iwrite A$
- If A$=Chr$(13) Then Goto 2
- Goto 1
- 2 Icls
- Amos To Front
- End
-
- Also, when I used Iread Str$, it gave me no input, but if I ran the program
- again, whatever I typed from the last run appeared.
-
- Is the guru because the screen remains open but the program for it is gone?
-
- Any ideas about the Iread Str$ problem?
-
- Well met and godspeed,
- Giark
-
-